var vm = new Vue({
    el: "#app",
    data: {

    },
    methods: {
        transferAccountsReady:function(){
            swal({
                title: "转账确认",
                text: "转账确认后60秒内充值到账，请注意刷新查看，如长时间未到账，请在客服中心联系客服处理。",
                buttons: ["未转账", "已转账"],
            })
            .then(function(flag){
                if (flag) {
                    swal({
                        content: {
                          element: "input",
                          attributes: {
                            value: "转账成功",
                            id:"inputBox",
                            disabled:true,
                            readonly:true
                          },
                        },
                        buttons:false,
                        timer:800,
                    });
                } else {
                    console.log("点击了未转账");
                }
            });
        },
    },
});

// window.location.href='./bill.html';